package com.kangyi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "评论详情数据返回格式")
public class ReviewDetailVO implements Serializable {

    @ApiModelProperty("评论id")
    private Integer id;
    @ApiModelProperty("昵称")
    private String name;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("评论时间")
    private LocalDateTime createTime;
    @ApiModelProperty("评分")
    private BigDecimal rating;
    @ApiModelProperty("评论内容")
    private String comment;
    @ApiModelProperty("评论图片")
    private List<NursingHomeReviewImageVO> nursingHomeReviewImageVOList;
    @ApiModelProperty("此条评论是否回复")
    private Boolean isDeleted;
    @ApiModelProperty("评论回复")
    private NursingHomeReviewReplyVO nursingHomeReviewReplyVO;
}
